﻿#region Namespace imports

using System;

#endregion

namespace AdventureGame
{
    internal class Item
    {
        String _name = null;
        String _scroll = null;

        int _attack = 0;//attack
        int _accuracy = 0;//accuracy
        int _magic = 0;//magical strength
        int _defense = 0;//defense
        int _evasion = 0;//evasiveness
        int _resistance = 0;//magical defense

        public Item() {}

        public Item(String name)
        {
            _name = name;
        }

        public String Scroll
        {
            get { return _scroll; }
            set { _scroll = value; }
        }

        public Int32 Attack
        {
            get { return _attack; }
            set { _attack = value; }
        }

        public Int32 Accuracy
        {
            get { return _accuracy; }
            set { _accuracy = value; }
        }

        public Int32 Magic
        {
            get { return _magic; }
            set { _magic = value; }
        }

        public Int32 Defense
        {
            get { return _defense; }
            set { _defense = value; }
        }

        public Int32 Evasiveness
        {
            get { return _evasion; }
            set { _evasion = value; }
        }

        public Int32 Resistance
        {
            get { return _resistance; }
            set { _resistance = value; }
        }

        public String Name
        {
            get { return _name;}
            set { _name = value; }
        }
    }
}
